package com.szgr.baoyin.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yang on 15/12/11.
 */
public class CardType implements Serializable {

    /**
     * card_id : 1
     * card_name : 维保卡
     * card_limit : 0.01
     * card_discount : 1.0000
     * card_validity : 730
     * card_withdraw : 100.00
     */

    private String card_id;
    private String card_name;
    private String card_limit;
    private String card_discount;
    private String card_validity;
    private String card_withdraw;

    private List<CardConfig> card_config;

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    public void setCard_name(String card_name) {
        this.card_name = card_name;
    }

    public void setCard_limit(String card_limit) {
        this.card_limit = card_limit;
    }

    public void setCard_discount(String card_discount) {
        this.card_discount = card_discount;
    }

    public void setCard_validity(String card_validity) {
        this.card_validity = card_validity;
    }

    public void setCard_withdraw(String card_withdraw) {
        this.card_withdraw = card_withdraw;
    }

    public String getCard_id() {
        return card_id;
    }

    public String getCard_name() {
        return card_name;
    }

    public String getCard_limit() {
        return card_limit;
    }

    public String getCard_discount() {
        return card_discount;
    }

    public String getCard_validity() {
        return card_validity;
    }

    public String getCard_withdraw() {
        return card_withdraw;
    }

    public List<CardConfig> getCard_config() {
        return card_config;
    }

    public void setCard_config(List<CardConfig> card_config) {
        this.card_config = card_config;
    }

    public class CardConfig implements Serializable{
        private String card_id;
        private String card_discount;
        private String store_id;
        private String store_goods_class;


        public String getCard_id() {
            return card_id;
        }

        public void setCard_id(String card_id) {
            this.card_id = card_id;
        }

        public String getCard_discount() {
            return card_discount;
        }

        public void setCard_discount(String card_discount) {
            this.card_discount = card_discount;
        }

        public String getStore_id() {
            return store_id;
        }

        public void setStore_id(String store_id) {
            this.store_id = store_id;
        }

        public String getStore_goods_class() {
            return store_goods_class;
        }

        public void setStore_goods_class(String store_goods_class) {
            this.store_goods_class = store_goods_class;
        }
    }
}
